﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Sanctuary.Core.Audio
{
    public class Sound
    {
        public string Name { get; set; }
        private string path;
        public string Path 
        {
            get
            {
                return path;
            }
            set
            {
                path = value;
                if (path.EndsWith(".wav", StringComparison.InvariantCultureIgnoreCase))
                {
                    IsWav = true;
                }
            }
        }
        public bool IsLooped { get; set; }
        public bool IsWav { get; private set; }
    }
}
